package com.hongxin.nw.netty.mq_info.domain;

/**
 * @remark --
 * @author: GuoXiaolin
 * @date 2019/6/19 16:18
 * @Version 1.0
 * @Descibe
 */
public class AuthRequest {

    private String machineId="0";

    /**
     * 充电枪号
     */
    private String interfaceNumber="0";

    /**
     * 鉴权类型
     * 卡鉴权：0x00
     * Vin号鉴权：0x01
     * 车牌鉴权：0x02
     */
    private String authenticationMode="0";

    /**
     * 用户卡号/用户识别号/VIN号
     * 1706667019   个人卡
     * 108184138    单位卡
     * 112514378    集团卡
     * ASCII码，不足补’\0’
     */
    private String userId="0"; //VIN

    /**
     * 车牌号
     * 可选项，没有填’\0’
     * 当鉴权类型为车牌鉴权时有效，其余时候置为0
     */
    private String numberPlate="0";

    /**
     * 充电卡余额
     * 0.01元
     */
    private String balance="0";

    /**
     * 是否更新卡余额
     * 0---未更新  1--已更新
     */
    private String updateBalance="0";

    /**
     *
     */
    private String equipType="2";

    public String getEquipType() {
        return equipType;
    }

    public void setEquipType(String equipType) {
        this.equipType = equipType;
    }

    public String getMachineId() {
        return machineId;
    }

    public void setMachineId(String machineId) {
        this.machineId = machineId;
    }

    public String getInterfaceNumber() {
        return interfaceNumber;
    }

    public void setInterfaceNumber(String interfaceNumber) {
        this.interfaceNumber = interfaceNumber;
    }

    public String getAuthenticationMode() {
        return authenticationMode;
    }

    public void setAuthenticationMode(String authenticationMode) {
        this.authenticationMode = authenticationMode;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getNumberPlate() {
        return numberPlate;
    }

    public void setNumberPlate(String numberPlate) {
        this.numberPlate = numberPlate;
    }

    public String getBalance() {
        return balance;
    }

    public void setBalance(String balance) {
        this.balance = balance;
    }

    public String getUpdateBalance() {
        return updateBalance;
    }

    public void setUpdateBalance(String updateBalance) {
        this.updateBalance = updateBalance;
    }
}
